import request from "@/utils/request";

// 关键词页面js

export function getList(params) {
  return request({
    url: "/admin/keyword/list",
    method: "get",
    params,
  });
}
//搜索接口
export function sele(params) {
    return request({
      url: "/admin/keyword/list",
      method: "get",
      params,
    });
  }
//添加接口
export function add(data) {
    return request({
      url: "/admin/keyword/create",
      method: "post",
      data,
      
    });
  }
//编辑接口
export function revise(data) {
    return request({
      url: "/admin/keyword/update",
      method: "post",
      data,
      
    });
  }
//删除接口
export function dele(data) {
    return request({
      url: "/admin/keyword/delete",
      method: "post",
      data,
      
    });
  }